<?php

// Namespace

namespace Snsfg;


/**
 * CPostStatus is a class that can be used to manage messages of user on social networks
 *
 * @package		Snsfg
 * @category	Model
 */

class CPostStatus extends \Loop\CObject
{
	
	protected function createProperties()
	{
		
		parent::createProperties();

		$this->createProperty
		(
			'content',
			array
			(
				'type' => TYPE_TEXT_SHORT
			)
		);

		$this->createProperty
		(
			'discription',
			array
			(
				'type' => TYPE_TEXT_SHORT
			)
		);

		$this->createProperty
		(
			'picture',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'shortLink',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'link',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'shortLinkClicks',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'shortLinkReferers',
			array
			(
				'type' => TYPE_TEXT_SHORT
			)
		);

		$this->createProperty
		(
			'shortLinkLocations',
			array
			(
				'type' => TYPE_TEXT_SHORT
			)
		);

		$this->createProperty
		(
			'internalId',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		
		);
		
		$this->createProperty
		(
			'accountId',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'universe',
			array
			(
				'isRequired' => true,
				'type' => TYPE_STRING_SHORT
			)
		);

		$this->createProperty
		(
			'sendingId',
			array
			(
				'isRequired' => true,
				'type' => TYPE_STRING_SHORT
			)
		);

		$this->createProperty
		(
			'socialNetwork',
			array
			(
				'type' => TYPE_STRING_SHORT
			)
		);

		$this->createProperty
		(
			'source',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'repostsCount',
			array
			(
				'type' => TYPE_INTEGER
			)
		);

		$this->createProperty
		(
			'commentsCount',
			array
			(
				'type' => TYPE_INTEGER
			)
		);

		$this->createProperty
		(
			'isShare',
			array
			(
				'type' => TYPE_BOOLEAN
			)
		);

		$this->createProperty
		(
			'isPrivate',
			array
			(
				'type' => TYPE_BOOLEAN
			)
		);

		$this->createProperty
		(
			'latitude',
			array
			(
				'type' => TYPE_STRING_SHORT
			)
		);		

		$this->createProperty
		(
			'longitude',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);	
		
		$this->createProperty
		(
			'createdAt',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'type',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);			
	}
}